<?php

$DocRoot = $_SERVER['DOCUMENT_ROOT'];

class ViewController
{
	public function o($overlayName)
	{
		global $DocRoot;
		include $DocRoot."/woflow/view/overlays/$overlayName.php";
	}
}

class ControllerFactory
{
	public function getController()
	{
		return new ViewController();
	}
}

?>